#include "binary_search.hpp"

void TestBinarySearch()
{
    std::vector<int> a{1,2,3,3,3,3,4,5,6};
    std::cout << "LeftBoard:" << LeftBoard(a, 3)+1 << " " << "RightBoard:" << RightBoard(a,3)+1 << std::endl;
}
void TestSquareRoot()
{
    double x;
    int n;
    std::cin >> x >> n;
    std::cout << "x的n次方根:" <<  square_root(x, n) << std::endl;
}
int main()
{
    //TestBinarySearch();
    TestSquareRoot();
    return 0;
}